package com.fresh.fresh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fresh.fresh.dao.Orders;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Orders> {
    Orders getOrder(Integer id);

    List<Orders> getUserOrder(Integer userId);


}
